package host.haiwai.mapper;

import host.haiwai.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author joefche / JC
 * @since 2021-08-29
 */
@Service
public interface AdminMapper extends BaseMapper<Admin> {
    //@Select("select * from jc_admin")
    List<Admin> getAdminAndRoleList();
}
